﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Proxy;

namespace SIM.Geo.UI.Movil.Controllers
{
    public class EmpresaController : Controller
    {
        //
        // GET: /Empresa/

        public ActionResult Index()
        {
            return View();
           

        }

        public JsonResult ListItem()
        {

            using (SEEmpresaContratistaClient proxy = new SEEmpresaContratistaClient())
            {
                var lista = proxy.ObtenerListItem();
                return Json(lista, JsonRequestBehavior.AllowGet);
                
            }
           

        }

    }
}
